package com.example.mapper;

import com.example.pojo.OperateLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AopMapper {
    @Select("select * from operate_log limit #{start},#{pageSize}")
    List<OperateLog> logPage(Integer start, Integer pageSize);
    @Select("select count(*) from operate_log")
    Long find();
}
